<?php
use pft\Prod\ProductInfo;
use pft\Member;

include '../../class/DisOrder.php';
include '../../class/ProductInfo.class.php';
include '../../class/Member.class.php';
$soap = new SoapClient(null,array(
    "location" => "http://localhost/open/openService/pft_insideMX.php",
    "uri" => "www.16u.com?ac_16u=16ucom|pw_16u=c33367701511b4f6020ec61ded352059|auth_16u=true")
);

$orderOption = array(
	'pid' => 4668,
	'begintime' => '2015-12-18',
	'sfz' => '350181199106012339',
	'ordername' => '翁彬',
	'ordertel' => '13123196340',
	'contacttel' => '13123196340',
	'tnum' => 1,
	'c_pids' => null,
	'paymode' => 1,
	'memo' => "",
	'aid' => 3385,
	'ordermode' => 11
);

$pro = new ProductInfo($soap, $orderOption['pid'], $orderOption['aid']);
$member = new Member($soap, $memberID);
$orderObj = new DisOrder($soap, $pro, $member);

var_dump($pro, $member, $orderObj);



?>
